package architecture.demo13;

import java.io.Serializable;

public class Message implements Serializable {
    private Operation operation;
    private Object data;

    public Message(Operation operation, Object data) {
        this.operation = operation;
        this.data = data;
    }

    public Operation getOperation() {
        return operation;
    }

    public Object getData() {
        return data;
    }
}

